-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fix(plugin-npm): add resolver for converting locators with __archiveUrl #6891
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
fix(plugin-npm): add resolver for converting locators with __archiveUrl #6891
Conversation
82988fc
to
c02d930
Compare
Thanks for adding tests to the PR! I'll close my previous PR as this PR solves the issues. |
@BasixKOR No worries! I think I tried to solve too much with this PR by also fixing patch-commit to generate valid selectors as well... big can of worms. I might try remove that second "fix" and just keep your original PR with the tests for now :D |
2466d75
to
722e89c
Compare
I've updated the PR to just add the tests, rather than try to fix the patch-package generation issue, as that's more complex. |
722e89c
to
70e7f70
Compare
70e7f70
to
72906d6
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is entirely from the original PR - this PR only adds tests
What's the problem this PR addresses?
This PR extends the tarball resolver started in #6525 and adds the tests requested!
Fixes #5156 #5890 (?)
How did you fix it?
1. New NpmTarballResolver
Added
packages/plugin-npm/sources/NpmTarballResolver.ts
- a resolver that specifically handles npm packages with__archiveUrl
parameters. Extended @BasixKOR's work from #6525 with testse.g. to handle
Checklist